Resource Bundle 
To add a resource bundle to a class which is using its keys, do the following:
- In the Class Editor, select the ResourceBundle object from the palette.
- This appears in the invisible beans area.
- Change the variable name of the resource bundle to the class name you provided in the Resource Bundle Editor.
- Display the Property Sheet for the resource bundle and change its initialization code using "Code Expression" to:
ResourceBundle.getBundle("ClassName")
where "ClassName" is the name of the class you have generated.
Note: Please note that resources fetched from a resource bundle do not affect the dynamic display. They will display correctly when the generated code is run.